package com.webmeeting.chat.wordchat.dao.entities;

import java.util.HashMap;
import java.util.Map;

public class User extends HashMap<String, Object> {

	private static final long	serialVersionUID	= 1L;

	public User(Map<String, Object> attributes) {
		this.putAll(attributes);
	}

	public String getUsername() {
		return (String) get("USERNAME");
	}

	public String getPassword() {
		return (String) get("PASSWORD");
	}
	
	public String getNickname() {
		return (String) get("NICKNAME");
	}

	public java.sql.Timestamp getCreatedDate() {
		return (java.sql.Timestamp) get("CREATE_DATE");
	}

}
